package com.sy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "前端用户登录时传递的数据模型")
public class UserLoginDTO implements Serializable {
    @ApiModelProperty(value = "手机号",required = true)
    private String phone;
    //指定password不能为空
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
